const TextToSVG = require('text-to-svg');
const textToSVG = TextToSVG.loadSync();
const attributes = {fill: 'white' };
const options = {x: 0, y: 0, fontSize: 18, anchor: 'top', attributes: attributes};
module.exports = (str) => {
  return textToSVG.getSVG(str, options);

}
